//
//  AppDelegate.m
//  DistanceTool
//
//  Created by v_hefang on 2020/7/7.
//  Copyright © 2020 fh. All rights reserved.
//

#import "AppDelegate.h"
#import "ViewController.h"

#import <QMapKit/QMapKit.h>

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    [QMapServices sharedServices].APIKey = @"6NCBZ-VPCCU-ULWV2-BIA7K-QNBMK-XEFTC";

    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:[[ViewController alloc] init]];
    self.window.rootViewController = navController;
    [self.window makeKeyAndVisible];
        
    return YES;
}

@end
